home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / Graphic Elements 3 / GEMisc / QTMovieGE.h < prev    next >
Text File  |  1995-05-14  |  947b  |  47 lines

  1. /*
  2.     QTMovieGE.h
  3.     
  4.     QuickTime movie as a graphic element
  5.     
  6.     Copyright 1995 by Al Evans. All rights reserved.
  7.     
  8.     5/10/95
  9.     
  10. */
  11.  
  12. #ifndef QTMOOVGE
  13. #define QTMOOVGE
  14.  
  15. #include <Movies.h>
  16.  
  17. #ifndef GRAPHELEMENTS
  18. #include "GraphElements.h"
  19. #endif
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24.  
  25. typedef struct {
  26.     GrafElement        baseGraphic;
  27.     Movie            geMovie;
  28.     Point            tlSave;            // To keep movie position in synch with element pos.
  29. } QTMovieGE, *QTMovieGEPtr;
  30.  
  31. GrafElPtr NewQTMovieGE(GEWorldPtr world, OSType id, short plane, 
  32.                                             Movie movie, short xPos, short yPos);
  33.                                             
  34. Movie GetGEMovie(GEWorldPtr world, OSType movieGEID);
  35.  
  36.  
  37. // Autochange proc for QuickTime movie GE -- takes care of running movie and updating
  38. // position. If your application provides an explicit autochange proc for a Movie GE,
  39. // be sure to call this one at the end of it!
  40.  
  41. pascal void GEMovieAutoChange(GEWorldPtr world, GrafElPtr element);
  42.  
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46.  
  47. #endif